package com.example.exercise.user.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.user.vo.AppUserVO;
import com.example.exercise.user.dao.entity.AppUserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface AppUserDAO {

    List<AppUserEntity> findByWhere(Page<?> page, @Param("param") AppUserVO appUserVO);

    AppUserEntity findByKey(@Param("param") AppUserVO appUserVO);

    int insert(@Param("param") AppUserEntity appUserEntity);

    int updateByKey(@Param("param") AppUserEntity appUserEntity);

    int deleteByKey(@Param("param") AppUserVO appUserVO);

}